package spittr.data;

import spittr.Spitter;
import spittr.Spittle;

import java.util.List;

/**
 * Created by gongyan on 17/4/5.
 */
public interface SpittleRepository {

    List<Spittle> findSpittles(long max, int count);

    void save(Spitter spitter);

    Spitter findByUserName(String userName);
}
